package com.mushuroom.live.service.imp;

import com.mushroom_street.live.pojo.Live;
import com.mushuroom.live.dao.LiveDao;
import com.mushuroom.live.service.LiveService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class LIveServiceImp implements LiveService {
    @Resource
    private LiveDao liveDao;
    @Override
    public List<Live> loadLiveList() {
        return liveDao.selectList(null);
    }

}
